//
//  CinemaModel.m
//  UI_豆瓣影院
//
//  Created by dllo on 16/1/4.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CinemaModel.h"

@implementation CinemaModel
- (void)dealloc {
    [_image release];
    [_url release];
    [_title release];
    [super dealloc];
    
}

+ (CinemaModel *)cinemaModel {
    return [[[CinemaModel alloc] init]autorelease];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"images"]) {
        self.image = value[@"medium"];
        
   
    }
    
}

- (id)valueForUndefinedKey:(NSString *)key {
    
    return nil;
}
@end
